<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}




<div class="container">
	<div class="main">
            
            <ul class="breadcrumb">
              <li><a href="#">首页</a> <span class="divider">/</span></li>
              <li><a href="#">短消息</a> <span class="divider">/</span></li>
              <li class="active">发送短消息</li>
            </ul>
            
            <form action="" name="form" method="post">
        <table cellpadding="0" cellspacing="1" class="">
        <tr>
        	<th width="15%">标题：</th>
            <td width="80%"><input type="text" name="subject" size="50" require="true" datatype="require|limit" min="1" max="80" msg="标题不能空|标题长度必须在1到80个字符之间"/></td>
        </tr>
        <tr>
        	<th>收件人：</th>
            <td><input type="text" name="msgto" size="50" require="true" datatype="require|ajax" url="?module=message&action=checkuser" msg="收件人不能空" value="请输入对方昵称，多个请用逗号隔开" onFocus="if(this.value=='请输入对方昵称，多个请用逗号隔开'){this.value=''}" onBlur="if(this.value==''){this.value='请输入对方昵称，多个请用逗号隔开'}"/></td>
        </tr>
        <tr>
        	<th>内容：</th>
            <td>
            	<textarea name="content" cols="60" rows="6"></textarea>
            </td>
        </tr>
        <tr>
        	<th></th>
            <td><input type="checkbox" name="savetooutbox" value="1" checked/>保存到发件箱</td>
        </tr>
		<!--<tr>
        	<th>验证码：</th>
            <td>{form::checkcode('checkcodestr',5)}</td>
        </tr>-->
        <tr>
        <th></th>
        <td colspan="2">
          <input type="submit" name="dosubmit" class="button button-primary" value="确 定" />
          <input type="reset" class="button" value="取 消" />
		</td>
      	</tr>        
        </table></form>
        
    </div>
    
    <div class="aside">
    {template "left.html","message"}
    </div>
</div>

 

{template "footer.html"}
<script language="javascript" src="images/js/validator.js"></script>
<script language="javascript" type="text/javascript">
$().ready(function() {
	  $('form').checkForm(1);
	});
</script>